package ops.model;

public class Term extends Entity {
	
	private int semester;
	private int year;
	
	public int getId() {
		return year*10 + semester;
	}
	
	public int getSemester() {
		return semester;
	}
	
	public void setSemester(int semester) {
		this.semester = semester;
	}
	
	public int getYear() {
		return year;
	}
	
	public void setYear(int year) {
		this.year = year;
	}
	
	public String getName() {
		return year+"/"+semester;
	}
}
